package org.fintan.make.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(description = "测试连接相关接口文档")
@RestController
public class HelloController {

/*	@Api(description = “用户相关接口文档”) 对该接口进行说明 
	@ApiParam 对参数进行解释 
	@ApiOperation 对方法进行解释*/
	
	@ApiOperation(value = "用户测试程序是否运行", notes = "程序测试")
	@RequestMapping(value = "/hello",method = RequestMethod.GET)
	public String hello(){
		return "hello HaveFun";
	}
	
}
